<?xml version="1.0" encoding= "UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/templates/common.xhtml">
	<ui:define name="content">
		<p:panel header="Forums">
			<p:dataScroller value="#{forumBean.forumList}" var="forum">


				<h:link value=" #{forum.forumTitle} " outcome="/forum/info">

					<f:param name="id" value="#{forum.forumId}" />

				</h:link>
				<p:separator style="width:100%;height:1px" />

			</p:dataScroller>
			<p:commandButton value="Back" action="/home" style="margin-left:20px" />

		</p:panel>

	</ui:define>

</ui:composition>


</html>
